var o, e = require, t = module, n = exports, i = this && this.__extends || (o = function(t, e) {
    return (o = Object.setPrototypeOf || {
        __proto__: []
    } instanceof Array && function(t, e) {
        t.__proto__ = e;
    } || function(t, e) {
        for (var n in e) e.hasOwnProperty(n) && (t[n] = e[n]);
    })(t, e);
}, function(t, e) {
    function n() {
        this.constructor = t;
    }
    o(t, e), t.prototype = null === e ? Object.create(e) : (n.prototype = e.prototype, 
    new n());
}), a = this && this.__decorate || function(t, e, n, o) {
    var r, c = arguments.length, i = c < 3 ? e : null === o ? o = Object.getOwnPropertyDescriptor(e, n) : o;
    if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i = Reflect.decorate(t, e, n, o); else for (var a = t.length - 1; 0 <= a; a--) (r = t[a]) && (i = (c < 3 ? r(i) : 3 < c ? r(e, n, i) : r(e, n)) || i);
    return 3 < c && i && Object.defineProperty(e, n, i), i;
};

Object.defineProperty(n, "__esModule", {
    value: !0
});

var r = e("PrefabView"), s = e("AudioManager"), c = e("AdManager"), l = e("WebManager"), d = cc._decorator, u = d.ccclass, p = d.property, h = function(e) {
    function t() {
        var t = null !== e && e.apply(this, arguments) || this;
        return t.bg = null, t.btn = null, t;
    }
    return i(t, e), t.prototype.onLoad = function() {
        this.bg.setContentSize(cc.winSize);
    }, t.prototype.onEnable = function() {
        c.default.getInstance().hideAllBanner();
    }, t.prototype.onClickBack = function() {
        s.default.getInstance().playAudio("按钮2"), l.default.getInstance().sentLog("点击导量界面返回按键"), 
        this.hidePnl();
    }, t.prototype.start = function() {
        var t = this;
        this.scheduleOnce(function() {
            t.btn.active = !0;
        }, 2);
    }, a([ p(cc.Node) ], t.prototype, "bg", void 0), a([ p(cc.Node) ], t.prototype, "btn", void 0), 
    a([ u ], t);
}(r.default);

n.default = h;